body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Thaoma,"Lucida Grande",Verdana,"Microsoft YaHei",STXihei,hei;
    color: #000;
    background-color: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    height: 1200px;
}
a {
    text-decoration: none;
    color: #000;
}
* {
    box-sizing: border-box;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 搜索框样式 */
.search_wrap {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 44px;
    min-width: 320px;
    max-width: 540px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.search_wrap .search {
    flex: 1;
    height: 26px;
    border: 1px solid #ccc;
    margin: 7px 10px;

    font-size: 12px;
    color: #666;
    line-height: 24px;
    border-radius: 5px;
    box-shadow: 0 1px 1px 1px rgba(0,0,0,0.1);
    
}
.search_wrap .search::before {
    content: '';
    display: inline-block;
    /* float: left; */
    width: 15px;
    height: 15px;
    margin: 5px 0 5px 5px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px;
    vertical-align: middle;
}
.search_wrap .user {
    height: 44px;
    width: 44px;
    text-align: center;
    font-size: 12px;
    color: #2eaae0;
}
.search_wrap .user::before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    margin: 5px auto -2px;
    background: url(../images/sprite.png) -59px -194px;
    background-size: 104px;
}

/* 焦点图 */
.focus {
    margin-top: 44px;
}
.focus img {
    width: 100%;
}

/* 顶部导航栏 */
.nav {
    height: 64px;
    background-color: #fff;
    margin: 3px 4px;
    border-radius: 8px;
}
.nav ul {
    display: flex;
}
.nav ul li {
    flex: 1;
}
.nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 64px;
    color: #222;
    font-size: 12px;
}
.nav .icon {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px;
}
.nav ul li:nth-child(2) .icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -32px;
    background-size: 32px;
}
.nav ul li:nth-child(3) .icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -64px;
    background-size: 32px;
}
.nav ul li:nth-child(4) .icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -96px;
    background-size: 32px;
}
.nav ul li:nth-child(5) .icon {
    background: url(../images/localnav_bg.png) no-repeat 0 -128px;
    background-size: 32px;
}

/* 主导航栏 */
nav {
    overflow: hidden;
    margin: 0 4px 3px;
    border-radius: 8px;
}
nav .nav_col {
    display: flex;
    height: 88px;
    background: -webkit-linear-gradient(left,#fa5a55,#fa994d);
} 
nav .nav_col:nth-child(2) {
    background: -webkit-linear-gradient(left,#428ff1,#47b3f0);
} 
nav .nav_col:nth-child(3) {
    background: -webkit-linear-gradient(left,#2bb0ad,#60c350);
}
nav .nav_col:nth-child(2) {
    margin: 3px 0;
}
nav .nav_col .nav_items {
    flex: 1;
}
nav .nav_col .nav_items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
nav .nav_col .nav_items {
    display: flex;
    flex-direction: column;
}
nav .nav_col .nav_items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}
nav .nav_col:nth-child(1) .nav_items:nth-child(1) a {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px;
}
nav .nav_col .nav_items:nth-child(n+2) a:nth-child(1) {
    border-bottom: 1px solid #fff;
}

/* 副导航栏 */
.sub_nav {
    /* height: 128px; */
    background-color: #fff;
    margin: 3px 4px;
    border-radius: 8px;
}
.sub_nav ul {
    display: flex;
}
.sub_nav ul li {
    flex: 1;
}
.sub_nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 64px;
    color: #222;
    font-size: 12px;
}
.sub_nav .icon {
    width: 24px;
    height: 24px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 24px;
}
.sub_nav ul:nth-child(1) li:nth-child(2) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -24px;
    background-size: 24px;
}
.sub_nav ul:nth-child(1) li:nth-child(3) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -53px;
    background-size: 24px;
}
.sub_nav ul:nth-child(1) li:nth-child(4) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -275px;
    background-size: 24px;
}
.sub_nav ul:nth-child(1) li:nth-child(5) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -83px;
    background-size: 24px;
}
.sub_nav ul:nth-child(2) li:nth-child(1) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -139px;
    background-size: 24px;
}
.sub_nav ul:nth-child(2) li:nth-child(2) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -169px;
    background-size: 24px;
}
.sub_nav ul:nth-child(2) li:nth-child(3) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -113px;
    background-size: 24px;
}
.sub_nav ul:nth-child(2) li:nth-child(4) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -198px;
    background-size: 24px;
}
.sub_nav ul:nth-child(2) li:nth-child(5) .icon {
    background: url(../images/subnav-bg.png) no-repeat 0 -249px;
    background-size: 24px;
}

/* 销售模块 */
.sales {
    border: 1px solid #fff;
    background-color: #fff;
    margin: 3px 4px;
}
.sales .sales_hd {
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales .sales_hd h2 {
    float: left;
    width: 75px;
    height: 20px;
    margin-top: 13px;
    font-size: 0;
    background: url(../images/hot.png) no-repeat 0 -19px;
    background-size: 79px;
}
.sales .sales_hd a {
    float: right;
    margin-right: 10px;
    margin-top: 11px;
    padding: 2px 15px;
    height: 20px;
    background: -webkit-linear-gradient(left,#FF506c,#ff6bc6) ;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    border-radius: 10px;
}
.sales .sales_hd a::after {
    content: '';
    float: right;
    width: 6px;
    height: 6px;
    margin-top: 3px;
    border: 1px solid #fff;
    border-top: 1px solid transparent;
    border-left: 1px solid transparent;
    transform: rotate(-45deg);
}
.sales_bd .row {
    display: flex;
}
.sales_bd .row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}
.sales_bd .row a:nth-child(1) {
    border-right: 1px solid #eee;
}
.sales_bd .row a img {
    width: 100%;
}